package com.lrkj.payfee.domain;

import java.math.BigDecimal;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 账户余额对象 tb_room_balance
 *
 * @author yajun_ren
 * @date 2022-07-25
 */
@Data
public class RoomBalance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 收费项目 */
    @Excel(name = "收费项目")
    private String chargeId;

    /** 房间id */
    @Excel(name = "房间id")
    private String roomId;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal receiptsMoney;

    private String ancestors;

    private String deptId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("chargeId", getChargeId())
            .append("roomId", getRoomId())
            .append("receiptsMoney", getReceiptsMoney())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
